<?php
Router::connect('/', array('controller' => 'posts', 'action' => 'index'));
Router::connect('/admin', array('controller' => 'blog', 'action' => 'index'));
Router::connect('/admin/login', array('controller' => 'users', 'action' => 'login'));
Router::connect('/admin/logout', array('controller' => 'users', 'action' => 'logout'));
?>